package com.orientsec.autotest.project.system.systemExpression.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.orientsec.autotest.framework.web.domain.BaseEntity;

/**
 * 达式表 system_expression
 * 
 * @author autotest
 * @date 2019-12-18
 */
public class SystemExpression extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 主键id */
	private Integer id;
	/** 名称 */
	private String expressionName;
	/** 值 */
	private String expressionValue;
	/** 描述 */
	private String expressionDesc;
	/** 逻辑 */
	private String expressionLogical;
	/** 表达式类型（0-系统函数，1-自定义） */
	private Integer expressionFlag;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setExpressionName(String expressionName) 
	{
		this.expressionName = expressionName;
	}

	public String getExpressionName() 
	{
		return expressionName;
	}
	public void setExpressionValue(String expressionValue) 
	{
		this.expressionValue = expressionValue;
	}

	public String getExpressionValue() 
	{
		return expressionValue;
	}
	public void setExpressionDesc(String expressionDesc) 
	{
		this.expressionDesc = expressionDesc;
	}

	public String getExpressionDesc() 
	{
		return expressionDesc;
	}
	public void setExpressionLogical(String expressionLogical) 
	{
		this.expressionLogical = expressionLogical;
	}

	public String getExpressionLogical() 
	{
		return expressionLogical;
	}
	public void setExpressionFlag(Integer expressionFlag) 
	{
		this.expressionFlag = expressionFlag;
	}

	public Integer getExpressionFlag() 
	{
		return expressionFlag;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("expressionName", getExpressionName())
            .append("expressionValue", getExpressionValue())
            .append("expressionDesc", getExpressionDesc())
            .append("expressionLogical", getExpressionLogical())
            .append("expressionFlag", getExpressionFlag())
            .toString();
    }
}
